﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdateTrainClass.aspx.cs" Inherits="TrainClassManagement_UpdateTrainClass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
    <script language="javascript" src="../My97DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form" runat="server">
    <div class="zt mainCenter">
        <div class="contentBody">
              <table style="width:100%;color:#336699;"  class="ta1">
            <tr><td class="ta2 tag" >隶属学校</td>
            <td class="ta2">
                <asp:DropDownList ID="dlschool" runat="server" DataTextField="VS_name" 
               DataValueField="ID" CssClass="inp2" >
                </asp:DropDownList>
            </td>
            </tr>
            <tr>
                    <td class="ta2 tag" >
                       培训班编号：
                    </td>
                    <td class="ta2">
                        <asp:TextBox ID="txtNum" runat="server" CssClass="inp1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Text="*"  ControlToValidate="txtTrainClassName"  ErrorMessage="培训班编号不能为空" ValidationGroup="register"></asp:RequiredFieldValidator>
                    </td>
                </tr>
             <tr>
                    <td class="ta2 tag" >
                       培训班名称：
                    </td>
                    <td class="ta2">
                        <asp:TextBox ID="txtTrainClassName" runat="server" CssClass="inp1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" Text="*"  ControlToValidate="txtTrainClassName"  ErrorMessage="培训班名称不能为空" ValidationGroup="register"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="ta2 tag" >
                       培训班人数（最大值）：
                    </td>
                    <td class="ta2">
                        <asp:TextBox ID="txtCount" runat="server" CssClass="inp1" AutoPostBack="true"  ontextchanged="txtCount_TextChanged" ></asp:TextBox>
                         <asp:Literal ID="ltrChk" runat="server" Visible=false><font color=red>请输入数字</font></asp:Literal><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Text="*"  ControlToValidate="txtTrainClassName"  ErrorMessage="培训班人数不能为空" ValidationGroup="register"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="ta2 tag"  >
                         启用：
                    </td>
                    <td  class="ta2" >
                        <asp:CheckBox ID="chkIsEnable" runat="server" Checked="true" />
                    </td>
                </tr>
                <tr>
                    <td class="ta2 tag"  rowspan="6">
                         培训班描述：
                    </td>
                    <td  class="ta2" rowspan="6" >
                       <asp:TextBox ID="txtTrainMessage" runat="server" TextMode="MultiLine" Height="206px" Width="297px" MaxLength="2000"  CssClass="inp3"></asp:TextBox>
                    </td>
                </tr>
              
            </table>
            <asp:Button ID="btnReg" runat="server" Text="修改" CssClass="button"  ValidationGroup="register"
                onclick="btnReg_Click" />&nbsp;&nbsp;<input type="button" onclick="this.form.reset(); " value="重置" class="button"  id="btnReset" runat="server"/>&nbsp;&nbsp;<input type="button" value="返回" onclick="window.history.go(-1)" class="button"  id="back" runat="server" ><br />
            <p style="color:Red; text-align:left"><asp:Label ID="Label1" runat="server" Text=""></asp:Label></p>
            <p style="margin-left:50px"><asp:ValidationSummary ID="validSummary" runat="server"   HeaderText="错误信息" ValidationGroup="register" Height="194px" /> </p>
        </div>
    </div>
  </form>
</body>
</html>

